performance_character_culling_effect = {
    every_character = {
        limit = {
            NOT = { has_character_flag = important_character }
            OR = {
                is_lowborn = yes
                AND = {
                    NOT = { is_landed = yes }
                    NOT = { any_relation = { exists = relation } }
                    NOT = { any_claim = { exists = claim } }
                }
            }
        }
        kill_character = yes
    }
}

performance_toggle_effect = {
    add_character_modifier = {
        modifier = performance_mode_modifier
        duration = -1
    }
}
